package ooDay01;

import ooDay03.Moo;
//import ooDay02.Moo;

public class CarTest {
    public static void main(String[] args) {

       // Moo a =new Moo();

        Car bm = new Car();
        bm.brand = "宝马";
        bm.color = "白色";
        bm.price = 600000;
        bm.capacity = 5;
        bm.start();
        bm.run();
        bm.stop();

        Car ad = new Car();

        ad.brand = "奥迪";
        ad.color = "红色";
        ad.price = 50000;
        ad.capacity = 6;
        ad.start();
        ad.run();
        ad.stop();

        Car bc =new Car("奔驰","蓝色",52000,7);
        bc.start();
        bc.run();
        bc.stop();
    }
}
